@font-face {
  font-family: DIGIT;
  src: url('/fonts/DS-DIGIT.TTF')
}
@mainColor:rgb(42,126,248);
:global {
  .grid-layout > div {
    background: url('./../../images/form2.png') center center  / 100% 100% no-repeat;
    border: 1px solid #05d2e2;
    //background: rgba(0,0,0,0.75);
    display: flex;
    flex-direction: column;
  }
}

.home {
  background: url("./../../images/home-bg.png") center center / 100% 100% no-repeat;
  //background:url("http://106.13.173.195:3000//images/markdown/login-bg.jpg") center 100%;
  //background-color: #142f5c;
}

.swiper {
  width: 100%;
  height: 100%;
  color: #FFFFFF;
}

.swiper_item {
  text-align: center;
}

.swiper_item_gauge {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid_body {
  flex: 1;
}

.header_title {

  position: relative;

  h3 {
    color: #61c9ff;
    margin: 12px 14px;
    font-size: 18px;
    font-weight: bold;

    span {
      color: #FFFFFF;
      font-size: 14px;
      margin-right: 5px;
    }
  }


}
.rank_btn {
  position: absolute !important;
  right: 12px;
  top: 10px;
}
.topItem {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 5px;
  transition: all 0.3s;

  .image {
    margin-right: 10px;

    img {
      width: 54px;
      height: 54px;
    }

  }

  .count {
    font-weight: bold;
    text-align: center;
    font-size: 40px;
    margin-top: -5px;
    font-family: 'DIGIT';
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .explain {
    font-size: 16px;
    text-align: center;
  }

}

.range_header {
  :global {
    li {
      display: flex;
      padding: 0 10px 0 12px;
      height: 35px;
      line-height: 35px;
      color: #00ffc6;

      &:first-of-type {
        background: #202f7a;
        color: #ffffff;

        .instantaneous_flow, .positive_cumulative_flow {
          color: #ffffff;
        }
      }
    }

  }
}

.range {
  padding: 0 10px;
  width: 100%;
  flex: 1;
  overflow: auto;

  :global {
    ul, li {
      margin: 0;
      padding: 0;

    }

    li {
      display: flex;
      height: 32px;
      line-height: 32px;
      color: #29bcff;
      .rank, .rank-content{
        padding-left: 10px;
        width:50px;
        color: #ffe400;
      }
      .rank{
        color: #ffffff;
      }
      .name {
        width: 25%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding-right: 5px;

        &:first-of-type {
          padding-left: 8px;
        }

        span {
          cursor: pointer;
          vertical-align: middle;
          &:hover {
            text-decoration: underline;
          }
        }

      }

      .instantaneous_flow, .positive_cumulative_flow {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        flex: 1;
        text-align: center;
        padding-right: 5px;
        color: #ffe400;
        img{
          width: 22px;
          height: 22px;
        }
      }
    }
  }
}

.carousel_box {
  display: flex;
}

.carousel_item {
  width: 25%;
  margin: 0 5px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.carousel_data {
  text-align: center;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  font-size: 14px;

  :global {
    li {
      height: 26px;
      line-height: 26px;

      & > span {
        background: #4d4d4d;
      }
    }

  }
}

.carousel_value {
  position: absolute;
  text-align: center;
  top: 13px;
  font-size: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DIGIT';

  :global {
    div {
      font-size: 14px;
    }
  }
}

.carousel_data_left {
  text-align: right;

}

.carousel_data_right {
  text-align: left;
  margin-left: 5px;
}


.carousel_name {
  color: #00ffc6;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;

  &:hover {
    text-decoration: underline;
  }
}

.cursor {
  color: #00ffc6;
  cursor: pointer;
  background: transparent !important;

  &:hover {
    text-decoration: underline;
  }
}

.clock {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error_box {
  padding: 0 15px;
  overflow: auto;
  overflow-x: hidden;

  :global {
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    li {
      color: #FFFFFF;
      list-style: none;
      line-height: 32px;
    }
  }
}

.error_avatar {
  position: relative;
  top: -2px;
  margin-right: 5px;
}

.homePageTop {
  width: 100%;
  height: 60px;
  font-size: 34px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;

  i {
    flex: 1;
  }

  :global {
    .fl {
      text-align: right;
    }
  }

  img {
    width: 90%;
    height: 40px;
  }

  span {
    margin: 0 20px;
    position: relative;
    top: 4px;
  }
}

.dashboard_top_box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  .dashboard_top {
    height: 76px;
    width: auto;
  }
}

.dashboard_top_time {
  color: #ffffff;
  font-size: 28px;
  position: absolute;
  right: 0px;
  top: 20px;
  font-family: 'DIGIT';
  background:  url('./../../images/time_box.png')  center center / 100% 100% no-repeat;
  //background-size: cover;
  display: block;
  width: 245px;
  text-align: center;
}
.border_top {
  position: absolute;
  display: block;
  background: #02081b url('https://www.17sucai.com/preview/2091429/2020-05-19/%E6%95%B0%E6%8D%AE%E7%BB%9F%E8%AE%A1%E9%A1%B5%E9%9D%A22020-5-15/images/title_left_bg.png');
  width: 90px;
  height: 12px;
  background-size: cover;
  left: -2px;
  top: -12px;
}
.dashboard_top_item {
  color: #ffffff;
  padding: 10px 15px;
  position: relative;
  border: 1px solid @mainColor;
  margin-bottom: 20px;
  height: 110px;
  background:#0d1d4d;
  :global {
    h3 {
      color: #ffffff;
      font-size: 16px;
      margin-bottom: 0;
      white-space: nowrap;
      width: 100%;
      text-overflow: ellipsis;
      overflow: hidden;
    }

    p {
      font-size: 32px;
      margin-bottom: 0;
      color: #29bcff;
      font-family: 'DIGIT';
      line-height: 1.3;
      white-space: nowrap;
      width: 100%;
      text-overflow: ellipsis;
      overflow: hidden;

      span {
        font-size: 20px;
        font-family: "DejaVu Sans", sans-serif;

        &:first-of-type {
          margin-left: 5px;
        }
      }
    }
  }

  .dashboard_item_desc {
    width: 100%;
    height: 21px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;

    :global {
      span {
        margin-right: 10px;
      }
    }
  }



  .border_right {
    position: absolute;
    display: block;
    background: #02081b url('./../../images/slash.png');
    width: 10px;
    height: 10px;
    background-size: cover;
    right: -1px;
    top: -1px;
  }

  .border_left {
    position: absolute;
    display: block;
    background: #02081b url('./../../images/slash.png');
    width: 10px;
    height: 10px;
    background-size: cover;
    left: -1px;
    bottom: -1px;
  }
}

.dashboard_box {
  background: url('./../../images/form4.png') center center / 100% 100% no-repeat;
  margin-bottom:8px;
  padding-bottom:4px;
  :global {
    h3 {
      color: #ffffff;
      height: 60px;
      line-height: 60px;
      font-size: 18px;
      text-align: center;
      margin-bottom: 0;
    }
  }
}

.map_box {
  background: url('./../../images/form3.png') center center / 100% 100% no-repeat;
  position: relative;
  overflow: hidden;
  border: 1px solid @mainColor;
}

.map1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 412px;
  height: 412px;
  background: url('https://www.17sucai.com/preview/1424582/2020-08-26/estsjksh/images/map.png') no-repeat;
  background-size: 100% 100%;
  opacity: 0.3;
  z-index: 4;
}

.map2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 530px;
  height: 530px;
  background-image: url('https://www.17sucai.com/preview/1424582/2020-08-26/estsjksh/images/lbx.png');
  opacity: 0.6;
  animation: rotate 15s linear infinite;
  z-index: 2;
  background-size: 100% 100%;
}

.map3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  background-image: url('https://www.17sucai.com/preview/1424582/2020-08-26/estsjksh/images/jt.png');
  opacity: 0.6;
  animation: rotate1 15s linear infinite;
  z-index: 3;
  background-size: 100% 100%;
}

.homeFullIcon {
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  background: #00bcd4;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;

  .homeFullIconContent {
    color: #FFFFFF;
    font-size: 20px;

  }
}
.shuichang_container{
  display: flex;
  flex-wrap: wrap;
  color: #ffffff;
}
.shuichang_box{
  width: 50%;
  border: 1px solid @mainColor;
  padding:0 10px;
  border-bottom: none;
}
.shuichang_box:nth-of-type(n){
  border-left: none;
}
.shuichang_box:nth-of-type(2n){
  border-right: none;
}
.title{
  padding: 5px 0;
  font-size: 16px;
  color: #29bcff;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content_item{
  display: flex;
  justify-content: space-between;
  margin-bottom:4px;
  font-size: 15px;
  :global {
    span{
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    span:last-of-type {
      color: #00e4ff;
    }
    span.error_value:last-of-type{
      color: rgb(255, 44, 113)
    }
  }

}

@keyframes rotate {

  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes rotate1 {
  0% {
     transform: translate(-50%, -50%) rotate(0deg);
   }

  100% {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
